//
//  MusicsData.h
//  AdultApp
//
//  Created by umina on 5/26/14.
//  Copyright (c) 2014 xyx. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <AVFoundation/AVFoundation.h>
@interface MusicsData : NSObject

@property (strong, nonatomic) NSMutableArray *arrMusic;         //歌曲名称数组
@property (strong, nonatomic) NSMutableArray *arrMusicArtwork;  //歌曲封面
@property (strong, nonatomic) NSMutableArray *arrMusicTime;     //歌曲时间
@property (strong, nonatomic) NSMutableArray *arrMusicArtist;     //歌曲艺术家数组
@property (copy, nonatomic) NSString *strArtist;      //艺术家
@property (copy, nonatomic) NSString *strAlbumName;   //专辑
@property (copy, nonatomic) NSString *strTitle;       //标题

+(MusicsData*)sharedInstance;
+(NSMutableArray*)loadAllMusics;
+(NSDictionary*)loadCurrentMusicInfo;   

+(NSString *)getProgressAudioPath;
+(int)getIndexCutrentMusic;
+(void)setIndexCutrentMusic:(int)newValue;

+(void)delMusicByName:(NSString*)musicName;


+(void)copyFileDatabase;    //  从bundle加载数据到document
@end
